/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.hiof.moraa.server.dao;

import com.hiof.moraa.server.service.model.LiveMediaFeed;
import com.hiof.moraa.server.service.model.SupportLiveMediaFeed;

import java.sql.Timestamp;
import java.util.List;

/**
 *
 * @author manish
 */
public interface SupportLiveMediaDAO {

    public SupportLiveMediaFeed insertSupportLiveMediaFeed(int supportId, String filePath, double lat, double lng, double height, Timestamp timestamp);

    public List<SupportLiveMediaFeed> getAllMediaFeedBySupportId(int supportId);

    public List<SupportLiveMediaFeed> getLatestLiveMediaFeedOfAllSupportsInOneRoute(int routeId, int numOfFeed);

    public List<SupportLiveMediaFeed> getLatestLiveMediaFeedOfOneSupportInOneRoute(String username, int routeId, int numOfLiveMediaFeed);
}
